package com.code.observer.common;

/**
 * <p>具体的目标对象</p>
 *
 * @author hwf
 * @version 1.0
 * @date 2021/12/8 0:19
 */

public class ConcreateSubject extends Subject<ConcreteObserve> {

    /**
     * 目标对象状态
     */
    private String subjectStatus;

    public String getSubjectStatus() {
        return subjectStatus;
    }

    public void setSubjectStatus(String subjectStatus) {
        this.subjectStatus = subjectStatus;
        this.notifyObserve();
    }
}
